package com.ll.domain.classbase.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author shzz
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CreateClassGroupDTO{

    @NotNull(message = "钉钉的用户ID不能为null")
    @ApiModelProperty(value = "dingTalkUserId", example = "1844652736858142")
    private String dingTalkUserId;

    @NotNull(message = "班级ID集合")
    @ApiModelProperty(value = "classIds", example = "[1,2,3]")
    private List<Long> classIds;

    @ApiModelProperty(value = "indexIds", example = "[1,2,3]")
    private List<Integer> indexIds;
}
